import requests
import json

baidu_translate_url = "https://fanyi.baidu.com/sug"
baidu_translat_data = {"kw": '数学'}
baidu_translat_headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.63"}

result = requests.post(baidu_translate_url,baidu_translat_data,baidu_translat_headers)
res = result.content.decode()

print(json.loads(res)['data'][0]['v'])